<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>系统设置</title>
<!-- CSS -->
<link type="text/css" rel="stylesheet" href="../styles/css/reset.css">
<link type="text/css" rel="stylesheet" href="../styles/css/index.css">
<link type="text/css" rel="stylesheet" href="../styles/css/button.css">
<script type="text/javascript" src="../scripts/html5.js"></script>
<!-- end -->

</head>
<body>
<script type="text/javascript">
function doSubmit(){
	if(confirm("您现在正在重新设置密匙，并给干部信息加密，是否继续？")){
		document.frm.action="encryptDate.jspx";
		document.frm.submit();
	}else{
		return false;
	}
}

</script>
	<c:if test="${! empty message}">
		<script type="text/javascript" language="javascript">
		 window.onload =function(){
			 var message = "${message}";
			 alert(message);
		 }
		</script>
	</c:if>
	<header>
	<div class="headerWrap"></div>
	</header>

	<div class="content">

		<section>

		<div class="rc_info mt20">
			<h3>
				<span class="r_title_ico"></span> 系统参数设置
			</h3>
		</div>

		<form action="update.jspx" method="post" >

			<table class="rc_tab01" cellspacing="0" cellpadding="0"
				style="width: 80%;">
				<tbody>
					<c:forEach items="${dtoList}" var="dto" varStatus="s">
						<tr>
							<input type="hidden" name="id" value="${dto.id}" />
							<td>${dto.description}</td>
							<c:if test="${dto.id == 'EMAIL_PASSWORD'}">
							<td><input type="password" name="value" value="${dto.value}" /></td>
							</c:if>
							<c:if test="${dto.id != 'EMAIL_PASSWORD'}">
							<td><input type="text" name="value" value="${dto.value}" /></td>
							</c:if>
						</tr>
					</c:forEach>
				</tbody>
			</table>
			<input type="submit" value="提交" class="button" />
		</form>
		</section>
	</div>
<%@include file="/common/foot.jsp"%>